Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


SetMouseRegion

Mac OS

The SetMouseRegion method assigns the mouse region used in dispatching mouse-enter, mouse-within, and mouse-leave events.

void SetMouseRegion (in ODRgnHandle area);
area
The mouse region, expressed in QuickDraw global coordinates.
DISCUSSION
Your part calls this method to set the mouse region that the dispatcher uses to report mouse-enter, mouse-within, or mouse-leave events. If you do not call this method, the mouse region defaults to a 1-by-1 pixel area.

SEE ALSO
The ODRgnHandle type (page 884).
The ODDispatcher::GetMouseRegion method (page 118).
"Mouse-Up Tracking" on page 217 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help